package com.panshi.controller;


import com.panshi.entity.SysAnswerCheckT;
import com.panshi.service.impl.SysAnswerCheckTServiceImpl;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 回答审核表 前端控制器
 * </p>
 *
 * @author xhlMr
 * @since 2020-08-04
 */
@RestController
public class SysAnswerCheckTController {

    @Autowired
    private SysAnswerCheckTServiceImpl sysAnswerCheckTService;

    @ApiOperation("回答添加审核")
    @PostMapping("/sys-answer-check-t/answerAdd")
    public Boolean answerAdd(@RequestBody SysAnswerCheckT sysAnswerCheckT){
        return sysAnswerCheckTService.save(sysAnswerCheckT);
    }

}

